package com.zz;

import com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure;
import com.ruoyi.common.security.annotation.EnableCustomConfig;
import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import io.seata.spring.annotation.GlobalTransactional;
import io.seata.spring.annotation.datasource.EnableAutoDataSourceProxy;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 学校管理模块
 *
 */
@EnableCustomConfig
@EnableScheduling // 启用定时任务
@EnableRyFeignClients(basePackages = {"com.ruoyi","com.zz.inventory.feign"})
@SpringBootApplication
@MapperScan("com.zz.inventory.mapper")
public class SchoolManagementApp
{
    public static void main( String[] args )
    {
        SpringApplication.run(SchoolManagementApp.class,args);
    }
}
